<div class="okrs-detail">
    <div class="okrs-title">
        <div class="title-content"><%=description%></div>
        <div class="title-other">
            <span class="deptName"><%if (ownerType === 1) {%>
                    <%=createName%>
                <%} else if (ownerType === 2) {%>
                    <%=deptName%>
                <%}%>
            </span>
            <span class="cycle">周期: <%=cycle%></span>
        </div>
    </div>
    <%if (keyResult && keyResult.length > 0) {%>
    <div class="okrs-keyresult">
        <div class="key-result-title">
            <span class="okrs-keyresult-icon"><span class="icon-keyresult"></span></span>
            关键结果
            <span id="total-progress" class="occupy">占比共计100%</span>
        </div>
        <div class="key-result-list">
            <ul>
                <%keyResult.forEach(function (value, key) {%>
                <li class="result box box-horizontal box-center" keyId="<%=value.id%>">
                    <span class="result-content">
                        <span class="occupy">占比<%=value.progress%>%</span><%=value.description%>
                    </span>
                    <span class="right-arrow icon-right"></span>
                </li>
                <%})%>
            </ul>
        </div>
    </div>
    <%}%>
</div>
